From: Mark A. Hershberger Date: Wed, 26 Jan 2011 17:48:58 +0000 (+0000) Subject: * Whitespace fixups X-Git-Tag: 1.31.0-rc.0~32345 X-Git-Url: http://git.cyclocoop.org/%7D%7Cconcat%7B?a=commitdiff_plain;h=23ad60e630ff81be825f87b838063717a48ace0e;p=lhc%2Fweb%2Fwiklou.git * Whitespace fixups * followup r66675 - Robla caught a problem with the parameter munging --- diff --git a/includes/User.php b/includes/User.php index 9cd33f9928..db854a7ea5 100644 --- a/includes/User.php +++ b/includes/User.php @@ -168,7 +168,7 @@ class User { var $mFrom; /** - * Lazy-initialized variables, invalidated with clearInstanceCache + * Lazy-initialized variables, invalidated with clearInstanceCache */ var $mNewtalk, $mDatePreference, $mBlockedby, $mHash, $mSkin, $mRights, $mBlockreason, $mBlock, $mEffectiveGroups, $mBlockedGlobally, @@ -610,7 +610,7 @@ class User { */ function getPasswordValidity( $password ) { global $wgMinimalPasswordLength, $wgContLang; - + static $blockedLogins = array( 'Useruser' => 'Passpass', 'Useruser1' => 'Passpass1', # r75589 'Apitestsysop' => 'testpass', 'Apitestuser' => 'testpass' # r75605 @@ -3830,7 +3830,7 @@ class User { // Set newtalk with the right user ID $this->setNewtalk( true ); wfRunHooks( 'AfterUserMessage', - array( $this, $article, $summary, $text, $signature, $summary, $editor ) ); + array( $this, $article, $subject, $text, $signature, $summary, $editor ) ); $dbw->commit(); } else { // The article was concurrently created